package com.gxa.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Date;

public class SalegetData {
    private String type;//类型：种类，固定商品
    private String time;//时间：年，月，日
    private String name;//商品名称 种类名称
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;//日期
    private String year;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }
}
